/*
 * TCCSystemUser.java
 *
 * Created on August 27, 2007, 9:49 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package tcc.domain.login;

/**
 *
 * @author Diego
 */
@javax.persistence.Entity
public class TCCSystemUser {
    
    
    
    public TCCSystemUser() {
    }
    
    @javax.persistence.Id
    private Long id;
    private String login;
    private String name;
    private String password;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
    
    public boolean checkPassword(String pwd){
        //TODO  - Implementar validação de Password;
        return true;
    }
    
}
